#include <stdio.h>


void loudou_stars(int n) {


    int r ;
    int c ;

    int N = n - 1;


    for ( r = 0; r <= 2 * N; r++ ) {
        for ( c = 0; c <= 2 * N; c++ ) {
            if ((r - c) * (r + c - 2 * N) >= 0) {
                printf("*");
            }
            else {
                printf(" ");
            }
        }
        printf("\n");
    }
}


int main()
{

    int n = 4;
    
    loudou_stars( n );
    
    return 0;
}